package com.interfaces.module.user.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.interfaces.module.goods.domain.FtsGoods;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

/**
 * 用户收藏对象 fts_user_collect
 *
 * @author lumberer
 * @date 2024-10-15
 */
@Data
@TableName("fts_user_collect")
public class FtsUserCollect extends BaseEntity{
private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    /** 用户标识 */
    @Excel(name = "用户标识")
    private Long userId;
    /** 收藏商品标识 */
    @Excel(name = "收藏商品标识")
    private Long collectId;
    @TableField(exist = false)
    private FtsGoods goods;
}